package ${packageName};

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
* ${tableComment} 实体类
* ${author}
* ${now}
*/
@Data
@TableName(value = "${tableName}")
public class ${entityName} extends BaseModel  {

<#if columnList?exists>
    <#list columnList as entity>
        <#if entity.name != "delFlag" && entity.name != "createBy" && entity.name != "createName" && entity.name != "createTime" && entity.name != "updateBy" && entity.name != "updateName" && entity.name != "updateTime" && entity.name != "companyCode" && entity.name != "platformId" && entity.name != "departmentId">
            /**${entity.comment}*/
            <#if entity.isPrimaryKey>
            @TableId(type = IdType.ASSIGN_ID)
            </#if>
            private ${entity.type!} ${entity.name!};

        </#if>
    </#list>
</#if>

}
